﻿#region using
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Runtime.Caching;

#endregion

namespace PM2.Home.Abstract
{
     public abstract class BaseHomeConfig : IHomeConfig
     {

		  /// <summary>
		  /// YAML
		  /// </summary>
		  public YAMLConfig YAMLConfig { get; }

          public BaseHomeConfig(YAMLConfig config)
              => this.YAMLConfig = config;

          /// <summary>
          /// 模板创建
          /// </summary>
          /// <param name="option"></param>
          /// <returns></returns>
          public abstract IHomeSource Build();

     }

}
